/*
 * @Author: yushuang
 * @Date: 2024-12-03 15:28:54
 * @LastEditors: yushuang
 * @LastEditTime: 2024-12-04 16:45:48
 * @Description:
 */
import { createGlobalState, useStorage } from '@vueuse/core';
export const STORAGE_AUTHORIZE_KEY = 'Authorization';

export const useAuthorization = createGlobalState(() => useStorage<null | string>(STORAGE_AUTHORIZE_KEY, null));
